package com.skyolder.milkbee.repository;

import com.skyolder.milkbee.domain.Candidate;

import org.springframework.data.jpa.repository.*;

import java.util.List;

/**
 * Spring Data JPA repository for the Candidate entity.
 */
@SuppressWarnings("unused")
public interface CandidateRepository extends JpaRepository<Candidate,Long> {

	void deleteByQuestionnaireId(Long questionnaireId);

	List<Candidate> findByQuestionnaireIdIn(List<Long> ids);

	List<Candidate> findByQuestionnaireId(Long questionnaireId);

}
